//
//  LXMineCommissionViewCell.m
//  LvXi_newVersion
//
//  Created by 诸葛孔明 on 16/8/11.
//  Copyright © 2016年 SJT. All rights reserved.
//............................................................................................//
//....................................个人中心我的佣金cell......................................//
//...........................................................................................//

#import "LXMineCommissionViewCell.h"
#import "AddCouponViewController.h"
#import "LXMyCommissionViewController.h"

#import "SignViewController.h"

@implementation LXMineCommissionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.backgroundColor = [UIColor clearColor];
    self.contentView.backgroundColor = [UIColor clearColor];
    UIImageView * backgroundImageView = [[UIImageView alloc] initWithFrame:CGRectMake(globalMargin, 0, ScreenWidth-2*globalMargin, 70)];
    backgroundImageView.image = [UIImage imageNamed:@"brokerage_bg02"];
    [self.contentView insertSubview:backgroundImageView atIndex:0];
    
}

//佣金按钮点击
- (IBAction)commissionBtnClick {
    LXMyCommissionViewController *commissionVc = [[LXMyCommissionViewController  alloc] init];
    [[self getCurrentVC].navigationController pushViewController:commissionVc animated:YES];
}
//优惠券按钮点击
- (IBAction)couponBtnClick {
    AddCouponViewController *addCouponVc = [[AddCouponViewController alloc] init];
    [[self getCurrentVC].navigationController pushViewController:addCouponVc animated:YES];

}
//签到按钮点击
- (IBAction)signUpBtnClick {
    SignViewController * signVC = [[SignViewController alloc] init];
    [[self getCurrentVC].navigationController pushViewController:signVC animated:YES];

}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
//    [super setSelected:selected animated:animated];

}

- (void)setHighlighted:(BOOL)highlighted animated:(BOOL)animated
{
    
}

@end
